package com.beyond.market.favorites.service;

import com.beyond.market.favorites.domain.Favorites;

import java.sql.SQLException;
import java.util.List;

public interface FavoritesService {
    public int save(Favorites favorites)throws SQLException;
    public int remove(Integer favortiesId)throws SQLException;
    public int update(Favorites favorites)throws SQLException;
    public Favorites getByPrimaryKey(Integer favortiesId)throws SQLException;
    public List<Favorites> getByUser(Integer userId)throws SQLException;
}
